package SV_LDAP_ANON;

public class Vulnerable_02 {
    DirContext ctx = new InitialDirContext(env);
   ctx.addToEnvironment(Context.SECURITY_AUTHENTICATION, "none");
    // another way of using anonymous authentication
   ctx.close();
}
